﻿// CEditSheet.cpp: 实现文件
//

#include "pch.h"
#include "HexEditor.h"
#include "CEditSheet.h"

// CEditSheet

IMPLEMENT_DYNAMIC(CEditSheet, CPropertySheet)

CEditSheet::CEditSheet(UINT nIDCaption, CWnd* pParentWnd, UINT iSelectPage)
	:CPropertySheet(nIDCaption, pParentWnd, iSelectPage) {
}

CEditSheet::CEditSheet(LPCTSTR pszCaption, CWnd* pParentWnd, UINT iSelectPage)
	:CPropertySheet(pszCaption, pParentWnd, iSelectPage) {
}

CEditSheet::~CEditSheet() {
}

BOOL CEditSheet::OnInitDialog() {
	CPropertySheet::OnInitDialog();
	CWnd* pWnd = NULL;
	pWnd = GetDlgItem(IDOK);
	if (pWnd && pWnd->GetSafeHwnd()) {
		pWnd->ShowWindow(false);
	}
	pWnd = GetDlgItem(IDCANCEL);
	if (pWnd && pWnd->GetSafeHwnd()) {
		pWnd->ShowWindow(false);
	}
	return TRUE;
}

BEGIN_MESSAGE_MAP(CEditSheet, CPropertySheet)
END_MESSAGE_MAP()

// CEditSheet 消息处理程序